'''
Author: LHY 2601958675@qq.com
Date: 2023-06-28 17:16:26
LastEditors: LHY
LastEditTime: 2023-06-28 17:47:44
Description: 
'''
import requests


content = input('请输入你要检索的内容:')
url = f'https://www.sogou.com/web?query={content}'
res = requests.get(url)
# res.encoding = 'utf-8'
print(res.text)

# print(res.request.headers)